
import 'package:flutter_deer/generated/json/base/json_field.dart';
import 'package:flutter_deer/generated/json/user_bank_entity.g.dart';

@JsonSerializable()
class UserBankEntity {

  UserBankEntity();

  factory UserBankEntity.fromJson(Map<String, dynamic> json) => $UserBankEntityFromJson(json);

  Map<String, dynamic> toJson() => $UserBankEntityToJson(this);

  @JSONField(name: 'id')
  String? id;
  @JSONField(name: 'bankId')
  String? bankId;
  @JSONField(name: 'bankName')
  String? bankName;
  @JSONField(name: 'cardNo')
  String? cardNo;
  @JSONField(name: 'cardUsername')
  String? cardUsername;
  @JSONField(name: 'cover')
  String? cover;
  @JSONField(name: 'createTime')
  String? createTime;
  @JSONField(name: 'withdrawAmount')
  double? withdrawAmount;
  @JSONField(name: 'withdrawTimes')
  int? withdrawTimes;
}